home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / keyservh / install.bat < prev    next >
Encoding:
DOS Batch File  |  1999-08-20  |  457 b   |  14 lines

  1. rem Register the service interface type library
  2.  
  3. regsvr32 /c /s ServiceInterface.tlb
  4.  
  5. rem Register the example service ActiveX DLLs
  6.  
  7. regsvr32 /c /s ServiceEx1\ServiceEx1.dll
  8. regsvr32 /c /s ServiceEx2\ServiceEx2.ocx
  9.  
  10. rem Install the example services
  11.  
  12. ServiceHost install name=ServiceEx1 display="Service Example 1" progid=ServiceEx1.ExampleService
  13. ServiceHost install name=ServiceEx2 display="Service Example 2" progid=ServiceEx2.ExampleService
  14.